package com.derbysoft.lowcostadapter.commons.redis.service;

import com.derbysoft.lowcostadapter.commons.model.RoomOccupancy;

import java.util.List;

public interface OccupancyCacheService {
    List<RoomOccupancy> loadAll(String key);

    void save(RoomOccupancy roomOccupancy);

    void saveAll(List<RoomOccupancy> roomOccupancies);
}
